By default in Windows 10, Windows will start notifying you that your password is about to expire (if the password expiration option is enabled) and that you must change it 5 days before the password expires. In this guide, I will show you how to change this setting.
It is good that Windows prompts you to change your password because it is expiring, but it can get quite annoying when you are nagged to change your password every time you sign in to Windows. We only need one friendly reminder, thank you very much! Thankfully, a simple Group Policy trick will allow you to decide when Windows notifies you to change your password.
secpol.mscto open the local security policy.
Interactive Logon: Prompt user to change password before expiration. Keyboard and/or screen reader users: Once Security Options is expanded, press tab, press I and arrow down 9 times to find
Interactive Logon: Prompt user to change password before expiration.